package top.jfunc.json.filter;

import com.alibaba.fastjson2.filter.PropertyFilter;

/**
 * 排序null属性
 * @author xiongshiyan at 2018/9/20 , contact me with email yanshixiong@126.com or phone 15208384257
 */
public class ExcludeNullPropertyFilter implements PropertyFilter {

    @Override
    public boolean process(Object object, String name, Object value) {
        return null != value;
    }
}